package com.nsapi.niceschoolapi.service;

import com.nsapi.niceschoolapi.entity.TeacherDB;

import java.util.List;
import java.util.Map;

public interface TeacherService {

    //录入教师信息
    public int addTeacher(TeacherDB teacherDB);

    //分页查询教师信息
    public List<TeacherDB> teacherList(Map<String, Object> map);

    //按id查询教师详细信息
    public TeacherDB getTeacher(Integer id);

    //修改教师信息
    public int updateTeacher(TeacherDB teacherDB);
}
